/**
 * @title OnBootReceiver.java
 * @package org.androidpn.demoapp
 * @description 
 * @author liugan
 * @date 2012-7-11
 * @copyright ��������Ѷ���
 */
package org.androidpn.client;

import com.esun.RabbitApplication;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

/**
 * @title OnBootReceiver
 * @description 
 * @author liugan
 */
public class OnBootReceiver extends BroadcastReceiver{

	private final String LOGTAG = "OnBootReceiver";
	@Override
	public void onReceive(Context context, Intent intent) {
		Log.e(LOGTAG,"---------------onReceive-------------------");
		RabbitApplication application = (RabbitApplication) context.getApplicationContext();
		application.startPushService();
	}
	
}
